<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>打印一个直角三角形</title>
	<script type="text/javascript">
		for (var i = 1; i <=10; i++) {
		for (var j = 1; j <=i; j++) {
			document.write("*");
		}
		document.write("<br>")
		}
	</script>
</head>
<body>
	
</body>
</html>